@charset "utf-8";

@import "init.scss";
@import "common.scss";

main{
    width: 100%;
//  height: 2538px;
   
    //---------------个人主页导航头
    .my_page_header{
       border-bottom: 2px solid #464545;
       padding: 0 46px;
       ul,div{
            display: inline-block;
            vertical-align: middle;
        }
        span{
            color: #FFFFFF;
            font-size: 18px;
            line-height: 70px;
            vertical-align: middle;
        }
        ul{
            li{
                margin-left: 40px;
                a{
                    font-size: 18px;
                    color: #7d7c7c;
                    line-height: 70px;
                    &:hover{
                        color: #0dafd2;
                    }
                }
            }
        }
        .search{
            display: inline-block;
            width: 170px;
            height: 24px;
            margin-left: 98px;
            border: 1px solid #545454;
            form{
                width: 100%;
                height: 100%;
                input{
                    width: 128px;
                    height: 22px;
                    vertical-align: middle;
                    background: #000000;
                    padding-left: 6px;
                    border: none;
                    color: #FFFFFF;
                    outline: none;
                }
                .icon-ziyuan{
                    background: #000000;
                    color: #878686 ;
                    border: none;
                    vertical-align: middle;
                    font-weight: bold;
                    outline: none;
                    &:hover{
                        cursor: pointer;
                    }
                }
            }
            
        }
        
    }
    //-------------------------最新推荐
    .new{
        p{
            font-size: 33px;
            line-height: 80px;
            color: #FFFFFF;
            padding-left: 44px;
        }
        .new_list{
            color: #FFFFFF;
//          border-bottom: 1px solid #4d4d4d;
            width: 984px;
            margin-left: 32px;
            padding-bottom: 16px;
            .new_list_content{
                width: 145px;
                display: inline-block;
                margin-left: 14px;
                .img_box{
                    width: 100%;
                    img{
                        width: 100%;
                    }
                }
                a{
                    font-size: 12px;
                    color: #FFFFFF;
                }
                span{
                    font-size: 12px;
//                  vertical-align: middle;
                    img{
                        vertical-align: middle;
                    }
                    &:first-of-type{
                        margin-right: 8px;
                    }
                }
                &:hover .img_box{
                    transition-duration: .5s;
                    transform: scale(1.2);
                    cursor: pointer;
                }
            }
        }
    }
    //、、、、、、、、、、、、主体内容、、、、、、
    .main_content{
        width: 972px;
        border-top: 1px solid #4d4d4d;
        padding-top: 28px;
        margin-left: 44px;
        ///、、、、、、、、左侧边栏、、、、、、、、、、、、、、、
        .aside_left{
            width: 218px;
            color: #747373;
            ul{
//              padding-left: 44px;
                li{
                    font-size: 14px;
                    line-height: 40px;
                    margin-bottom: 4px;
                    background: #252525;
                    span{
                        font-size: 18px;
                        vertical-align: middle;
                        margin: 0 18px;
                    }
                    &:first-of-type{
                        color: #FFFFFF;
                    }
                    a,label{
                        color: #747373;
                    }
                    &:hover a,&:hover label{
                        color: #0dafd2;
                    }
                }
            }
            .left_pics{
                a{
                    display: block;
                    width: 218px;
                    margin-bottom: 14px;
                    img{
                        width: 100%;
                    }
                }
            }
            
        }
    ///、、、、、、、、中间内容、、、、、、、、、、、、、、、
        .content_mid{
            width: 562px;
            background: #FFFFFF;
//          padding: 0 0 0 24px;
            margin: 0 6px;
            .content_mid_top{
                width: 562px;
                position: relative;
                padding-bottom: 8px;
//              border-bottom: 1px solid #f0f0f0;
                &::before{
                    content: "";
                    display: block;
                    position: absolute;
                    width: 542px;
                    height: 1px;
                    background: #f0f0f0;
                    bottom: 0px;
                    left: 50%;
                    transform: translate(-50%);
                }
                &>div{
                    display: inline-block;
                }
               .classify{
                   span{
                       font-size: 33px;
                       line-height: 68px;
                       color: #0dafd2;
                   }
                }
                .classify_select{
                    margin: 30px 26px 0 0;
                    select{
                        font-size: 14px;
                        height: 22px;
                        color: #747373;
                        option{
                            font-size: 14px;
                            height: 42px;
                            color: #747373;
                        }
                    }
                    
                }
                .tag{
                    span{
//                      width: 85px;
                        width: 107px;
                        height: 24px;
                        line-height: 24px;
                        font-size: 14px;
                        display: inline-block;
//                      margin-right: 23px;
                        color: #747373;
                        text-align: left;
                        &:hover{
                            cursor: pointer;
                            color: #0dafd2;
                        }
                        i{
                            font-style: normal;
                        }
                        &:first-of-type{
                            color: #0dafd2;
                        }
                        &:last-of-type{
                            background: #0dafd2;
                            color: #FFFFFF;
                            text-align: center;
                            width: 88px;
                            &:hover{
                                color: #747373;
                            }
                        }
                        
                    }
                }
            }
            ///----------------------文章-------------------
            section{
//              padding: 0 24px 20px 0;
                padding-bottom: 20px;
                margin-right: 24px;
                margin-top: 24px;
                border-bottom: 1px solid #f0f0f0;
//              .cotent_img_box{
//                  width: 108px;
//                  display: inline-block;
//                  vertical-align: top;
//                  .writer{
//                      margin-bottom: 20px;
//                      a{
//                          font-size: 14px;
//                          color: #0dafd2;
//                      }
//                  }
//              }
//              .article_content{
//                  width: 388px;
//                  display: inline-block;
//                  padding-left: 30px;
//                  h3{
//                      font-size: 24px;
//                      margin-bottom: 14px;
//                  }
//                  article{
//                      font-size: 14px;
//                      line-height: 22px;
//                      text-align: justify;
//                      overflow: hidden;
//                  }
//              }
                .section_bottom{
                    font-size: 12px;
                    color: #7d7c7c;
                    .section_bottom_left{
                        span{
                            color: #b2b1b1;
                            margin-right: 4px;
                        }
                        a{
                            position: relative;
                            color: #b2b1b1;
                            margin-left: 10px;
                            &::after{
                                content: "";
                                display: block;
                                position: absolute;
                                width: 1px;
                                background: #7d7c7c;
                                height: 80%;
                                left: -8px;
                                bottom: 0;
                            }
                            &:hover{
                                color: #0dafd2;
                            }
                        }
                    }
                    .section_bottom_right{
                        span{
                            vertical-align: top;
                            font-size: 12px;
                            margin-left: 20px;
                            position: relative;
                            i{
                                font-style: normal;
                                vertical-align: top;
                                font-size: 12px;
                            }
                            &::after{
                                content: "";
                                display: block;
                                position: absolute;
                                width: 1px;
                                height: 12px;
                                background: #7d7c7c;
                                bottom: 2px;
                                left: -10px;
                            }
                            &:first-of-type::after{
                                display: none;
                            }
                            &:hover{
                                color: #0dafd2;
                                cursor: pointer;
                            }
                        }
                        .icon-xin{
                            font-size: 18px;
                            vertical-align: top;
                            &:hover::before{
                                color: #0dafd2;
                                cursor: pointer;
                            }
                        }
                    }
                }
            }
            //、、、、、、、、、、、、、、、、、、、、页码选择-------------------
            .page_select{
                margin-right: 24px;
                line-height: 48px;
                color: #999797;
                form{
                    display: inline-block;
                    margin-right: 20px;
                    select{
                        border: none;
                        color: #999797;
                    }
                }
                a{
                    font-size: 12px;
                    color: #999797;
                    &:hover{
                        color: #0dafd2;
                    }
                }
            }
        }
    ///、、、、、、、、右侧边栏、、、、、、、、、、、、、、、
        .aside_right{
            width: 132px;
            color: #7d7c7c;
//          padding: 0 12px;
            font-size: 12px;
            padding-right: 24px;
//          background: skyblue;
            section{
                width: 100%;
                padding: 0 12px;
                background: #252525;
                margin-bottom: 7px;
                li:hover{
                    color: #0dafd2;
                    cursor: pointer;
                }
            }
            h3{
                font-size: 14px;
                line-height: 40px;
                color: #0dafd2;
                text-align: center;
                border-bottom: 1px solid #444444;
            }
            ul{
                padding: 10px 0;

                li{
                    line-height: 28px;
                    
                    a{
                        color: #7d7c7c;
                        &:hover{
                            cursor: pointer;
                            color: #0dafd2;
                        }
                    }
                }
                &+span{
                    display: block;
                    width: 100%;
                    text-align: right;
                    a{
                        font-size: 14px;
                        color: #0dafd2;
                        line-height: 42px;
                    }
                }

            }
            .topic{
                span{
                    display: block;
                    width: 100%;
                    text-align: right;
                    border-top: 1px solid #444444;
                    
                    a{
                        font-size: 14px;
                        color: #0dafd2;
                        line-height: 42px;
                    }
                }
            }
            .job_list{
                
                li{
                    border-bottom: 1px solid #444444;
                    padding: 16px 0;
                }
                a{
                    font-size: 14px;
                    color: #0dafd2;
                }
//              span{
//                  border: 0px;
//              }
            }
            .new_people{
                div{
                    margin-top: 15px;
                    width: 66px;
                    div{
                        width: 54px;
                        img{
                            width: 100%;
                        }
                    }
                    p{
                        a{
                            color: #7d7c7c;
                            &:hover{
                                color: #0dafd2;
                            }
                        }
                        margin-top: 10px;
                        font-size: 12px;
                    }
                }
                span{
                    display: block;
                    width: 100%;
                    text-align: right;
                    border-top: 1px solid #444444;
                    margin-top: 10px;
                    a{
                        font-size: 14px;
                        color: #0dafd2;
                        line-height: 42px;
                    }
                  
                }
            }
            .last_visitors{
                ul{
                    padding: 19px 0 26px 0;
                    li{
                        position: relative;
                        font-size: 14px;
                        line-height: 14px;
                        margin-bottom: 10px;
                        div{
                            display: inline-block;
                            width: 52px;
                            img{
                                width: 100%;
                            }
                        }
                        span{
                            display: inline-block;
                            width: 62px;
                            margin: 0 0 10px 10px;
                        }
                        .onlive{
                            position: absolute;
                            width: 10px;
                            height: 10px;
                            background: #00ff18;
                            border-radius: 10px;
                            bottom: -5px;
                            left: 28px;
                            
                            animation-name: flash;
                            animation-iteration-count: infinite;
                        }
                    }
                }
                &>span{
                    display: block;
                    width: 100%;
                    text-align: right;
                    border-top: 1px solid #444444;
                    border-bottom: 1px solid #444444;
                    margin-top: 10px;
                    a{
                        font-size: 14px;
                        color: #0dafd2;
                        line-height: 42px;
                    }
                }
                &>div{
                    display: inline-block;
                    width: 64px;
                    text-align: center;
                    font-size: 12px;
                    color: #7d7d7d;
                }
            }
        }
    }
    
    .left_pics a:hover{
        animation-duration: 0.2s;
        animation-name: bounce;
    }
    
    li:hover{
        cursor: pointer;
        color: #0dafd2;
    }
    label:hover{
        cursor: pointer;
    }
    section:hover{
        cursor: pointer;
//      animation-name: jello;
        transform: translateY(4px);
        box-shadow: 2px 2px 5px #0dafd2;
    }
    section li div:hover img{
        transform: scale(1.2);
    }
    .new_people div>div:hover{
        transform: scale(1.2);
    }
}

